#include "BaseUtil.h"


int BaseUtil::getIntFromBuffer( unsigned char* input, int inputLen )
{
	int ret = 0;
	for(int i = 0; i < inputLen; i++) {
		ret += ret * 256 + input[i];
	}
	return ret;
}
